//
//  NextController.swift
//  Swift-Tools
//
//  Created by gree on 2020/10/16.
//

import UIKit

class NextController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

    }
    @IBAction func nextVCAction(_ sender: Any) {

        self.dismiss(animated: true) {
            let vc = SecondViewController()
            self.present(vc, animated: true, completion: nil)
        }
    }
    
    @IBAction func dissAction(_ sender: Any) {
        self.dismiss(animated: true, completion: nil)
    }
}
